# **********************************************************************
#
# Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
#
# This copy of Ice is licensed to you under the terms described in the
# ICE_LICENSE file included in this distribution.
#
# **********************************************************************

# Ice version 3.3.1
# Generated from file `Chat.ice'

import Ice, IcePy, __builtin__

if not Ice.__dict__.has_key("_struct_marker"):
    Ice._struct_marker = object()
import MRPLPeer_ice

# Included module Ice
_M_Ice = Ice.openModule('Ice')

# Included module Glacier2
_M_Glacier2 = Ice.openModule('Glacier2')

# Included module peer
_M_peer = Ice.openModule('peer')

# Start of module TeRK
_M_TeRK = Ice.openModule('TeRK')
__name__ = 'TeRK'

if not _M_TeRK.__dict__.has_key('Qwerk'):
    _M_TeRK.Qwerk = Ice.createTempClass()
    class Qwerk(_M_peer.PeerConnectionEventHandler):
        def __init__(self):
            if __builtin__.type(self) == _M_TeRK.Qwerk:
                raise RuntimeError('TeRK.Qwerk is an abstract class')

        def ice_ids(self, current=None):
            return ('::Ice::Object', '::TeRK::Qwerk', '::peer::PeerConnectionEventHandler')

        def ice_id(self, current=None):
            return '::TeRK::Qwerk'

        def ice_staticId():
            return '::TeRK::Qwerk'
        ice_staticId = staticmethod(ice_staticId)

        #
        # Operation signatures.
        #
        # def cameraTiltUp(self, current=None):
        # def cameraTiltDown(self, current=None):
        # def cameraPanLeft(self, current=None):
        # def cameraPanRight(self, current=None):
        # def driveForward(self, current=None):
        # def driveBack(self, current=None):
        # def spinLeft(self, current=None):
        # def spinRight(self, current=None):
        # def stop(self, current=None):

        def __str__(self):
            return IcePy.stringify(self, _M_TeRK._t_Qwerk)

        __repr__ = __str__

    _M_TeRK.QwerkPrx = Ice.createTempClass()
    class QwerkPrx(_M_peer.PeerConnectionEventHandlerPrx):

        def cameraTiltUp(self, _ctx=None):
            return _M_TeRK.Qwerk._op_cameraTiltUp.invoke(self, ((), _ctx))

        def cameraTiltDown(self, _ctx=None):
            return _M_TeRK.Qwerk._op_cameraTiltDown.invoke(self, ((), _ctx))

        def cameraPanLeft(self, _ctx=None):
            return _M_TeRK.Qwerk._op_cameraPanLeft.invoke(self, ((), _ctx))

        def cameraPanRight(self, _ctx=None):
            return _M_TeRK.Qwerk._op_cameraPanRight.invoke(self, ((), _ctx))

        def driveForward(self, _ctx=None):
            return _M_TeRK.Qwerk._op_driveForward.invoke(self, ((), _ctx))

        def driveBack(self, _ctx=None):
            return _M_TeRK.Qwerk._op_driveBack.invoke(self, ((), _ctx))

        def spinLeft(self, _ctx=None):
            return _M_TeRK.Qwerk._op_spinLeft.invoke(self, ((), _ctx))

        def spinRight(self, _ctx=None):
            return _M_TeRK.Qwerk._op_spinRight.invoke(self, ((), _ctx))

        def stop(self, _ctx=None):
            return _M_TeRK.Qwerk._op_stop.invoke(self, ((), _ctx))

        def checkedCast(proxy, facetOrCtx=None, _ctx=None):
            return _M_TeRK.QwerkPrx.ice_checkedCast(proxy, '::TeRK::Qwerk', facetOrCtx, _ctx)
        checkedCast = staticmethod(checkedCast)

        def uncheckedCast(proxy, facet=None):
            return _M_TeRK.QwerkPrx.ice_uncheckedCast(proxy, facet)
        uncheckedCast = staticmethod(uncheckedCast)

    _M_TeRK._t_QwerkPrx = IcePy.defineProxy('::TeRK::Qwerk', QwerkPrx)

    _M_TeRK._t_Qwerk = IcePy.defineClass('::TeRK::Qwerk', Qwerk, (), True, None, (_M_peer._t_PeerConnectionEventHandler,), ())
    Qwerk.ice_type = _M_TeRK._t_Qwerk

    Qwerk._op_cameraTiltUp = IcePy.Operation('cameraTiltUp', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (), (), None, ())
    Qwerk._op_cameraTiltDown = IcePy.Operation('cameraTiltDown', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (), (), None, ())
    Qwerk._op_cameraPanLeft = IcePy.Operation('cameraPanLeft', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (), (), None, ())
    Qwerk._op_cameraPanRight = IcePy.Operation('cameraPanRight', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (), (), None, ())
    Qwerk._op_driveForward = IcePy.Operation('driveForward', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (), (), None, ())
    Qwerk._op_driveBack = IcePy.Operation('driveBack', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (), (), None, ())
    Qwerk._op_spinLeft = IcePy.Operation('spinLeft', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (), (), None, ())
    Qwerk._op_spinRight = IcePy.Operation('spinRight', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (), (), None, ())
    Qwerk._op_stop = IcePy.Operation('stop', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (), (), None, ())

    _M_TeRK.Qwerk = Qwerk
    del Qwerk

    _M_TeRK.QwerkPrx = QwerkPrx
    del QwerkPrx

# End of module TeRK
